package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Paylistbill;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaylistbillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Paylistbill record);

    Paylistbill selectByPrimaryKey(Long id);

    List<Paylistbill> selectAll();

    int updateByPrimaryKey(Paylistbill record);


    List<?> queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);

    void changeState(@Param("id") Long id, @Param("status") Integer status);
}